/*
    @param1 - sourceid - This is the id of the multiple select box whose item has to be moved.
    @param2 - destinationid - This is the id of the multiple select box to where the iterms should be moved.
*/

//this will move selected items from source list to destination list      
function move_list_items(sourceid, destinationid) {
   $("#"+sourceid+"  option:selected").appendTo("#"+destinationid);
}

//this will move all selected items from source list to destination list
function move_list_items_all(sourceid, destinationid) {
    $("#"+sourceid+" option").appendTo("#"+destinationid);
}
